import request from '@/utils/request'

/**
 * get Task Data
 * @param {Object} data
 */
export function getCustomerTaskList(data) {
	return request({
		url: '/api/customerTaskReward/getCustomerTaskList',
		method: 'post',
		data
	})
}

/**
 * upload Task
 */
export function uploadMyTask(data) {
	return request({
		url: '/api/customerTaskReward/uploadMyTask',
		method: 'post',
		data
	})
}

/**
 * get Task Detail
 * @param {Object} data
 */
export function getCustomerTaskDetail(data) {
	return request({
		url: '/api/customerTaskReward/getCustomerTaskDetail',
		method: 'post',
		data
	})
}